<?php
// 本类由系统自动生成，仅供测试用途
namespace Admin\Controller;

class IndexController extends LoginController {
	public function __construct() {
		parent::__construct ();
	}
	public function index() {
		$db = D ( 'Cate' );
		$arr = $db->get_cate ();
		$arr = genTree ( $arr );
		$this->assign ( 'arr', $arr );
		$this->display ( 'index' );
	}
}